var t = require;
var e = module;
var o = exports;
var n =
    (this && this.__extends) ||
    (function () {
        var t = function (e, o) {
            return (t =
                Object.setPrototypeOf ||
                ({__proto__: []} instanceof Array &&
                    function (t, e) {
                        t.__proto__ = e;
                    }) ||
                function (t, e) {
                    for (var o in e) e.hasOwnProperty(o) && (t[o] = e[o]);
                })(e, o);
        };
        return function (e, o) {
            function n() {
                this.constructor = e;
            }
            t(e, o), (e.prototype = null === o ? Object.create(o) : ((n.prototype = o.prototype), new n()));
        };
    })();
Object.defineProperty(o, "__esModule", {value: !0}), (o.Popup = void 0);
var r = (function (t) {
    function e() {
        return (null !== t && t.apply(this, arguments)) || this;
    }
    return (
        n(e, t),
        (e.prototype.show = function () {
            (this.showing = !0), (this.__status = "show");
        }),
        (e.prototype.showComplete = function () {
            this.__status = "showComplete";
        }),
        (e.prototype.hide = function () {
            this.showing && ((this.showing = !1), this._hide(this)), (this.__status = "hide");
        }),
        (e.prototype.hideComplete = function () {
            this.__status = "hideComplete";
        }),
        e
    );
})(cc.Component);
o.Popup = r;
